buffer = Procedural.TextureBuffer(128)
Procedural.Cell(buffer):setDensity(4):setRegularity(234):process()
Procedural.Light(buffer):setColourAmbient(0.5, 0.2, 0, 0):setColourDiffuse(0.2, 0.1, 0, 0):setBumpPower(255):process()
tests:addTextureBuffer(buffer)
dotfile = tests:getDotFile("texture_19a", "Light_1_Demo")
dotfile:set("Cell", "texture_cell_smooth", "Normals", "texture_normals", "Light", "texture_light", dotFile_ROW)
dotfile:bind(1, 3)
dotfile = tests:getDotFile("texture_19b", "Light_2_Demo")
dotfile:set("Cell", "texture_cell_smooth", "Light", "texture_light")
